package com.example.li.day9_27.mvp.Model;

import com.example.li.day9_27.pojo.RequestData;
import com.example.li.day9_27.pojo.User;


public interface IMainModel {

    interface OnLoadCallback{

        void OnSucceed(RequestData<User> userRequestData);

        void OnFalie(Throwable throwable);

    }

    void login(String userName, String psw, OnLoadCallback callback);

}
